CXX	= g++
CFLAGS	= -Wall -g -shared -fPIC -DPIC

TARGET	= eeightrobot.so
OBJECTS	= eeightrobot.o supergamer.o player.o
LIBS	= ../common.o

all: $(TARGET)

clean:
	rm -f *.o $(TARGET) *.core

$(TARGET): $(OBJECTS)
	$(CXX) -o $(TARGET) $(CFLAGS) $(OBJECTS)

.cpp.o:
	$(CXX) -c $(CFLAGS) $<
